Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.cityOrClassifyChange = void 0, exports.contrastValueChange = a;
var e = require("../../../@babel/runtime/helpers/regeneratorRuntime"),
  r = require("../../../@babel/runtime/helpers/asyncToGenerator"),
  t = require("../../../store/index"),
  n = require("../tabCommon/index"),
  i = function () {
    var i = r(e().mark((function r(i, s, o) {
      var u, c, g, f, y;
      return e().wrap((function (e) {
        for (;;) switch (e.prev = e.next) {
          case 0:
            return u = t.store.getState().storage.userLocationCity, c = o ? (0, n.getmodeStorageKey)(o) : (0, n.getStorageKey)(), g = (0, n.getFilterParamsInfo)(c), f = !1, y = !1, e.abrupt("return", (i && u && "{}" !== JSON.stringify(u) && (f = a(u, i)), s && g && "{}" !== JSON.stringify(g) && (y = a(g, s)), f || y));
          case 3:
          case "end":
            return e.stop()
        }
      }), r)
    })));
    return function (e, r, t) {
      return i.apply(this, arguments)
    }
  }();

function a(e, r) {
  return JSON.stringify(e) !== JSON.stringify(r)
}
exports.cityOrClassifyChange = i;